import { http } from "@/utils/http";
import { resultBase } from "@/Model/resultBase";
import { authoritysVM } from "@/Model/authoritys";

/**
 * 获取分页数据
 */
export const getAuthoritysTreeApi = () => {
  return http.request<resultBase<authoritysVM[]>>(
    "get",
    "/api/Authoritys/GetTree"
  );
};
